package DesignPatterns.prototype;

public class Dog implements Cloneable {
    @Override
    public Dog clone() {
        try {
            Dog clone = (Dog) super.clone();
            return clone;
        } catch (CloneNotSupportedException e) {
            throw new AssertionError();
        }
    }

}